Optimal. Leaf size=40 \[ \frac{(a \sin (c+d x)+a)^m \, _2F_1\left (1,m;m+1;\frac{1}{2} (\sin (c+d x)+1)\right )}{2 d m} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0487234, antiderivative size = 40, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105, Rules used = {2667, 68} \[ \frac{(a \sin (c+d x)+a)^m \, _2F_1\left (1,m;m+1;\frac{1}{2} (\sin (c+d x)+1)\right )}{2 d m} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2667
Rule 68
Rubi steps
\begin{align*} \int \sec (c+d x) (a+a \sin (c+d x))^m \, dx &=\frac{a \operatorname{Subst}\left (\int \frac{(a+x)^{-1+m}}{a-x} \, dx,x,a \sin (c+d x)\right )}{d}\\ &=\frac{\, _2F_1\left (1,m;1+m;\frac{1}{2} (1+\sin (c+d x))\right ) (a+a \sin (c+d x))^m}{2 d m}\\ \end{align*}
Mathematica [A] time = 0.0941581, size = 63, normalized size = 1.58 \[ \frac{(a (\sin (c+d x)+1))^m \left (m (\sin (c+d x)+1) \, _2F_1\left (1,m+1;m+2;\frac{1}{2} (\sin (c+d x)+1)\right )+2 (m+1)\right )}{4 d m (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.54, size = 0, normalized size = 0. \begin{align*} \int \sec \left ( dx+c \right ) \left ( a+a\sin \left ( dx+c \right ) \right ) ^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (d x + c\right ) + a\right )}^{m} \sec \left (d x + c\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (a \sin \left (d x + c\right ) + a\right )}^{m} \sec \left (d x + c\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a \left (\sin{\left (c + d x \right )} + 1\right )\right )^{m} \sec{\left (c + d x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (d x + c\right ) + a\right )}^{m} \sec \left (d x + c\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]